#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main() 
{
	int a;
	while (scanf("%d", &a) != EOF) 
	{
		int i, k;
		for (k = a; k > 0; k--) 
		{
			for (i = k; i > 0; i--) 
			{
				printf("* ");
			}
			printf("\n");
		}
	}
	return 0;
}
